home *** CD-ROM | disk | FTP | other *** search
- This is the README file for the GNU native/cross compiler. Diffs are
- with respect to GCC V2.1
-
- -configuration:
- copy all the files from the gcc v2.1 distribution
- into a directory called SRC (i created symbolic links between
- the files).
- copy all the files from the gcc v2.1 distribution
- sub-directory config into SRC/config
- copy all the files in this directory into SRC.
- (note: there are 2 .h files astab.h and PatchLev.h to be
- copied into SRC too).
- copy xm-atari.h and tm-atari.h into SRC/config
- cd to SRC
- Apply the diffs using larry walls patch program
- patch < gcc-21.diff
- make the following links in SRC
- config.h to config/xm-atari.h
- tconfig.h to config/xm-atari.h
- tm.h to config/tm-atari.h
- aux-output.c to config/m68k.c
- md to config/m68k.md
-
- edit Makefile.* to make sure the following
- are defined appro.:
- CROSSDIR -- the home directory of the cross dev. system
-
- edit xm-atari.h & tm-atari.h and replace all
- instances of the string ".../home/bammi/cross-../..."
- with CROSSDIR/... (ie. the same string as CROSSDIR above
- plus whatever was there after .../home/bammi/cross-.../ ).
-
- edit config/tm-atari.h and at the top of the file set
- TARGET_DEFAULT appropriately. this file is now
- conditionalized for various combinations of
- 68000/68020/68881
-
- you DO NOT have to edit gcc.c anymore to look for paths to edit.
-
-
- -make cross compiler by
- make -f Makefile.cross
- will make and install cpp, cc1 and gcc
-
- -clean out the directory by
- make -f Makefile.cross clean
-
- - to make atari st executables
- - make and install cross compiler as above (or use your native
- tos -gcc compiler)
- - make by
- make -f Makefile.st
-
- Please note: *.c files in this directory are the already patched files
- for the gcc-src directory.
-
- which makefile to use:
-
-
- On a (BSD unix host) On a HPUX host
- (Only sun sparc tested)
-
- GMakefile GMakefile.hp to make the CROSS-g++ parts
- GMakefile.st GMakefile.st.hp to make NATIVE-g++ parts
- Makefile Makefile.hp to make CROSS-gcc parts
- Makefile.st Makefile.st.hp to make NATIVE-gcc parts
-
-
- NATIVE parts are 68k code that run on the atari.
- CROSS parts run on the HOST and not on the atari.
-
- --
- bang: uunet!cadence!bammi jwahar r. bammi
- domain: bammi@cadence.com
- GEnie: J.Bammi
- CIS: 71515,155
-